import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
    routes:[
        {
            path: '/',
            component: () => import('@/views/home/HomePage.vue'),
        },
        {
            path: '/login',
            component: () => import('@/views/LoginPage.vue'),
        },
        {
            path: '/course',
            component: () => import('@/views/course/CoursePage.vue'),
        },
        {
            path:"/classStudent",
            component: () => import('@/views/course/ClassStudentPage.vue')
        },
        {
            path:"/work",
            component: () => import('@/views/work/WorkPage.vue')
        },
        {
            path:"/submitWork",
            component: () => import('@/views/work/SubmitWorkPage.vue')
        },
        {
            path:'/my',
            component: () => import('@/views/my/MyPage.vue')
        }

    ]
})
